package service.impl;

import dao.IUserDao;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import service.IUserService;

/**
 * 业务层
 */
public class UserServiceImpl implements IUserService {

    public UserServiceImpl(){
        System.out.println("service start init");
    }

    //实例化dao
    IUserDao userDao;
    public void saveUser() {
        userDao.saveUser();
    }
}